Conversation
✅ Deploy Preview for apiplayer ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR implements several UI optimizations to improve the user experience across the workbench interface.
Changes:
- Relocated Import OpenAPI functionality from API tree toolbar to project sidebar for better accessibility
- Added ability to delete response body schemas with proper UI for void responses
- Implemented "Discard Changes" button for API editor
- Optimized flatGroups computation by moving it to the API tree store
- Improved import dialog UX with explicit "auto-create groups" option and better layout
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| apps/frontend/src/stores/useApiTreeStore.ts | Added flatGroups computed property to reduce duplication |
| apps/frontend/src/stores/useApiEditorStore.ts | Enhanced updateResponseBody to support deletion with undefined parameter |
| apps/frontend/src/components/workbench/dialogs/import/ImportOpenapiPreview.vue | Used flatGroups from store, added AUTO_GROUP_VALUE for better UX, removed nested ScrollArea |
| apps/frontend/src/components/workbench/api-tree/ApiTreeToolbar.vue | Removed Import OpenAPI button |
| apps/frontend/src/components/workbench/api-tree/ApiTree.vue | Removed import event emission chain |
| apps/frontend/src/components/workbench/api-editor/editor/ResponsesEditor.vue | Added UI for creating and deleting response body schemas |
| apps/frontend/src/components/workbench/api-editor/ApiEditView.vue | Added "Discard Changes" button |
| apps/frontend/src/components/workbench/WorkbenchSidebar.vue | Added Import OpenAPI button to project-level sidebar |
| apps/frontend/src/components/workbench/ApiSidebar.vue | Removed Import OpenAPI dialog reference |
| apps/frontend/src/components/json-schema/JsonSchemaNode.vue | Added allowDelRoot prop for conditional root deletion |
| apps/frontend/src/components/json-schema/JsonSchemaEditor.vue | Implemented delRoot event and fixed path check logic for root deletion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.